<%--@elvariable id="loginUserId" type="java.lang.String"--%>
<%--@elvariable id="loginUserName" type="java.lang.String"--%>
<%--@elvariable id="today" type="java.lang.String"--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" pageEncoding="utf-8" %>
<%@taglib prefix="accessory" uri="http://accessoryPackageTag.weitu.net" %>
<!doctype html>
<html lang="zh">
<head>
    <title>承包商项目评价信息添加</title>
    <%@include file="/common/header.jspf" %>
    <script type="text/javascript" src="${ctx}/resources/js/contractor/annualEvaluation/add.js"></script>
</head>
<body>
<div class="menu-right" style="width:80px;">
    <a id="btn_save" href="javascript:void(0)" class="easyui-linkbutton" iconCls="fa fa-save fa-lg">保存</a>
</div>
<form id="form1" method="POST">
    <div class="information">
        <div class="information-title">
            <p>基本信息</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_one">
                    <label class="lable-style">承包商名称:</label>
                    <input id="contractorAuditName" name="contractorAuditName" type="text" style="width:240px;">
                    <input id="contractorAuditId" name="contractorAuditId" type="hidden" style="width:240px;">
                    <input id="evaluateType" name="evaluateType" value="0" type="hidden" style="width:240px;">
                </div>
                <div class="form_one">
                    <label class="lable-style">年度:</label>
                    <input id="year" name="year" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one">
                    <label class="lable-style">是否合格:</label>
                    <select class="easyui-combobox" id="isQualified" name="isQualified" data-options="required:true" style="width:240px;">
                        <option value="1" selected="selected">是</option>
                        <option value="0">否</option>
                    </select>
                </div>
                <div class="form_one">
                    <label class="lable-style">评价人:</label>
                    <input id="evaluatorName" name="evaluatorName" value="${loginUserName}" type="text" style="width:240px;">
                    <input id="evaluatorId" name="evaluatorId" value="${loginUserId}" type="hidden" class="hide">
                </div>
                <div class="form_one">
                    <label class="lable-style">评价日期:</label>
                    <input id="evaluateDate" name="evaluateDate" value="${today}" class="easyui-datebox" data-options="required:true" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_one hide">
                    <label class="lable-style">是否曝光:</label>
                    <select class="easyui-combobox" id="isExposure" name="isExposure" data-options="required:true" style="width:240px;">
                        <option value="1">是</option>
                        <option value="0" selected="selected">否</option>
                    </select>
                </div>
                <div class="form_one hide">
                    <label class="lable-style">曝光开始日期:</label>
                    <input id="exposureStartDate" name="exposureStartDate" class="easyui-datebox" data-options="required:true,validType:'startDateCompare[\'#exposureEndDate\']'" type="text" style="width:240px;">
                </div>
                <div class="form_one hide">
                    <label class="lable-style">曝光结束日期:</label>
                    <input id="exposureEndDate" name="exposureEndDate" class="easyui-datebox" data-options="required:true,validType:'endDateCompare[\'#exposureStartDate\']'" type="text" style="width:240px;">
                </div>
            </div>
            <div style="clear: both">
                <div class="form_two" style="width: 1100px;">
                    <label class="lable-style">评审意见:</label>
                    <input id="evaluateOpinion" name="evaluateOpinion" type="text" class="easyui-textbox"
                           data-options="multiline:true,required:true" style="height: 60px;width: 959px;"/>
                </div>
            </div>
        </div>
    </div>
    <div class="information">
        <div class="information-title">
            <p>相关附件</p>
            <a class="panel-down" href="javascript:void(0)">
                <span style="color: #49A9F9" class="fa fa-chevron-down fa-lg"></span>
            </a>
        </div>
        <div class="cuttle">
            <div>
                <div class="form_two" style="width: 1100px;">
                    <accessory:accessorySimple permission="write" packageKey="annual_evaluation" uploadUserId="${loginUserId}" accessoryType="docx,doc,jpg,png,pdf,jpeg"/>
                </div>
            </div>
        </div>
    </div>
</form>
</body>
</html>
